class Data {
  List<Swipers>? swipers;
  List<Logos>? logos;

  Data({this.swipers, this.logos});

  Data.fromJson(Map<String, dynamic> json) {
    if (json['swipers'] != null) {
      swipers = List<Swipers>.empty();;
      json['swipers'].forEach((v) {
        swipers?.add(new Swipers.fromJson(v));
      });
    }
    if (json['logos'] != null) {
      logos = List<Logos>.empty();
      json['logos'].forEach((v) {
        logos?.add(new Logos.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.swipers != null) {
      data['swipers'] = this.swipers?.map((v) => v.toJson()).toList();
    }
    if (this.logos != null) {
      data['logos'] = this.logos?.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class Swipers {
  String? image;

  Swipers({this.image});

  Swipers.fromJson(Map<String, dynamic> json) {
    image = json['image'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['image'] = this.image;
    return data;
  }
}

class Logos {
  String? image;
  String? title;

  Logos({this.image, this.title});

  Logos.fromJson(Map<String, dynamic> json) {
    image = json['image'];
    title = json['title'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['image'] = this.image;
    data['title'] = this.title;
    return data;
  }
}

class swiperImgObj {
  String image;
  swiperImgObj({required this.image});
}

class logosImgObj {
  String image;
  String title;
  logosImgObj({required this.image, required this.title});
}

class MyData {
  List<swiperImgObj> swipers;
  List<logosImgObj> logos;

  MyData({required this.swipers, required this.logos});
}